* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(to bottom, 
        #228B22 0%, 
        #228B22 30%, 
        #FFFFFF 40%, 
        #FFFFFF 60%, 
        #000000 70%, 
        #000000 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    margin-bottom: 50px;
    background:
        linear-gradient(rgba(128, 128, 128, 0.4), rgba(128, 128, 128, 0.4)),
        url('../img/pilar.jpg') center/cover no-repeat;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(34, 139, 34, 0.3);
}

h1 {
    font-size: 3.5em;
    color: #000000;
    text-shadow: 2px 2px 4px rgba(34, 139, 34, 0.3);
    margin-bottom: 15px;
    font-weight: bold;
}

.subtitle {
    font-size: 1.4em;
    color: white;
    font-weight: 500;
    margin-bottom: 30px;
}

.back-button {
    background: linear-gradient(135deg, #228B22, #2E8B57);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(34, 139, 34, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.back-button:hover {
    background: linear-gradient(135deg, #2E8B57, #228B22);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(34, 139, 34, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}

.section-content {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    border: 2px solid rgba(34, 139, 34, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.section-content h2 {
    color: #228B22;
    font-size: 2.2em;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(34, 139, 34, 0.2);
    border-bottom: 3px solid #228B22;
    padding-bottom: 10px;
}

.section-content p {
    font-size: 1.1em;
    color: #333;
    line-height: 1.7;
    margin-bottom: 20px;
}

.attraction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.attraction-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 25px;
    border: 2px solid rgba(34, 139, 34, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.attraction-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: rgba(34, 139, 34, 0.5);
    background: rgba(255, 255, 255, 1);
}

.attraction-title {
    color: #228B22;
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(34, 139, 34, 0.1);
}

.attraction-card p {
    color: #555;
    font-size: 1em;
    line-height: 1.6;
}

/* Estilos para las listas de rutas */
.section-content ul {
    background: rgba(248, 248, 248, 0.8);
    border-radius: 15px;
    padding: 25px;
    margin-top: 20px;
}

.section-content li {
    padding: 15px 0;
    border-bottom: 2px solid rgba(34, 139, 34, 0.2);
    font-size: 1.1em;
    transition: all 0.3s ease;
}

.section-content li:last-child {
    border-bottom: none;
}

.section-content li:hover {
    background: rgba(34, 139, 34, 0.05);
    padding-left: 10px;
    border-radius: 8px;
}

.section-content li strong {
    color: #228B22;
    font-size: 1.1em;
}

footer {
  text-align: center;
  background: #eee;
  padding: 20px;
  font-size: 0.9rem;
}

footer a {
  display: inline-block;
  margin-top: 10px;
  color: #6c63ff;
  text-decoration: none;
  font-weight: bold;
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.attraction-card {
    animation: fadeInUp 0.6s ease-out;
}

.attraction-card:nth-child(1) { animation-delay: 0.1s; }
.attraction-card:nth-child(2) { animation-delay: 0.2s; }
.attraction-card:nth-child(3) { animation-delay: 0.3s; }
.attraction-card:nth-child(4) { animation-delay: 0.4s; }